<?php
namespace frontend\frontBundle\Exception;
use Exception;

class LoginErroException extends Exception {
	public function __construct($message) {
		$aMessageMap = unserialize(MESSAGE_MAP);
        parent::__construct($aMessageMap[$message]);
    }
}